import java.util.Scanner;
/********建一个主类*********/
public class Main {
    public static void main(String[] args) {
        Scanner sc;
        sc = new Scanner(System.in);
        Integer[] s = new Integer[3];//定义整形数组保存输入数字
        for (int i = 0; i < 3; i++) {
            s[i] = sc.nextInt();
        }
        SchoolSystem s1 = new SchoolSystem(s[0], s[1], s[2]);//初始化SchoolSystem类，赋予大中小班初值
        int a, b, c, d;
        a = sc.nextInt();//加入学生报名分析班级名额
        s1.print(a);
        b = sc.nextInt();//加入学生报名分析班级名额
        s1.print(b);
        c = sc.nextInt();//加入学生报名分析班级名额
        s1.print(c);
        d = sc.nextInt();//加入学生报名分析班级名额
        s1.print(d);
    }
}
